<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        window.onload = () => {
            console.log('onload')
        }
    </script>
</head>
<body>
    <h2>学习script标签</h2>
    <script async src="js/script_async.js"></script>

    <script  defer src="js/script_defer.js"></script>
    <script>
        console.log('3')
        /*  */
    </script>
</body>
</html>